package com.czy.blog.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.czy.blog.entity.Role;

public interface RoleDao extends PagingAndSortingRepository<Role, String>,JpaSpecificationExecutor<Role>{
	List<Role> findByUsersRoles_Id(String userId);
}
